package com.siysoft.tc.base.bean.to;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * The persistent class for the db_praise database table.
 * 
 */
@Entity
@Table(name="db_praise")
public class Praise implements Serializable {
	private static final long serialVersionUID = 1L;
	private int praiseId;
	private int relevanceId;
	private String relevanceType;
	private int userId;

	public Praise() {
	}


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="praise_id")
	public int getPraiseId() {
		return this.praiseId;
	}

	public void setPraiseId(int praiseId) {
		this.praiseId = praiseId;
	}


	@Column(name="relevance_id")
	public int getRelevanceId() {
		return this.relevanceId;
	}

	public void setRelevanceId(int relevanceId) {
		this.relevanceId = relevanceId;
	}


	@Column(name="relevance_type")
	public String getRelevanceType() {
		return this.relevanceType;
	}

	public void setRelevanceType(String relevanceType) {
		this.relevanceType = relevanceType;
	}


	@Column(name="user_id")
	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

}